package com.red.star.macalline.data.mappers;

import com.red.star.macalline.data.core.base.MyMapper;
import com.red.star.macalline.data.entity.Coupon;
import com.red.star.macalline.data.entity.Demo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * @author AMGuo
 * @Description
 * @date 2018/03/01 10:23
 */
public interface CouponMapper extends MyMapper<Coupon> {

    @Select(value = "select * from t_coupon t where t.coupon_package_id = #{couponPackageId}")
    public List<Coupon> findListByCouponPackageId(Integer couponPackageId);
}
